import request from '../request'

// 上传图片
export const uploadImage = (data: FormData) => {
  return request<string>({
    url: '/api/uploadImage',
    method: 'post',
    headers: {
      'Content-Type': 'multipart/form-data'
    },
    data
  })
}

